package com.cmfi.domain;

import lombok.Data;

/**
 * 门架实体
 */
@Data
public class Gantry {

    private Long id;
    //门架序列号
    private String serialNum;
    //油缸id
    private String hydroCylinderId;
    //货叉架id
    private String forkliftRackId;
    //所处工位编号
    private int workStationNum;
    //门架上线时间
    private long onlineTime;
    //门架下线时间
    private long offlineTime;
    //所属产线id
    private long lineId;
    //所属产线名称
    private String lineName;

	public Long getId() {
		return id;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}
	public String getHydroCylinderId() {
		return hydroCylinderId;
	}
	public void setHydroCylinderId(String hydroCylinderId) {
		this.hydroCylinderId = hydroCylinderId;
	}
	public String getForkliftRackId() {
		return forkliftRackId;
	}
	public void setForkliftRackId(String forkliftRackId) {
		this.forkliftRackId = forkliftRackId;
	}
	public int getWorkStationNum() {
		return workStationNum;
	}
	public void setWorkStationNum(int workStationNum) {
		this.workStationNum = workStationNum;
	}
	public long getOnlineTime() {
		return onlineTime;
	}
	public void setOnlineTime(long onlineTime) {
		this.onlineTime = onlineTime;
	}
	public long getOfflineTime() {
		return offlineTime;
	}
	public void setOfflineTime(long offlineTime) {
		this.offlineTime = offlineTime;
	}
	public long getLineId() {
		return lineId;
	}
	public void setLineId(long lineId) {
		this.lineId = lineId;
	}
	@Override
	public String toString() {
		return "Gantry [id=" + id + ", serialNum=" + serialNum + ", hydroCylinderId=" + hydroCylinderId
				+ ", forkliftRackId=" + forkliftRackId + ", workStationNum=" + workStationNum + ", onlineTime="
				+ onlineTime + ", offlineTime=" + offlineTime + ", lineId=" + lineId + "]";
	}
    
}
